package edu.suda.xsap.mapper;

import edu.suda.xsap.entity.Register;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RegisterMapper {
    void save(Register register);
    void update(Register register);
    Register findByName(String name);
    List<Register> findAll();
}
